<a th:href="|javascript:pdfDown('${pdfName}');|" th:if="${result!=null}" class="btn btn-info">下载PDF</a>
<br>
<br>
<span shiro:notAuthenticated="" >未登录用户只可查看少量数据</span>
<span shiro:authenticated="" th:if="${user!=null and !user.isVip}">非会员用户最多查看9条，更多查看内容请联系管理员进行会员充值</span>
<br>
<br>
<div class="card-m" th:if="${result!=null}" th:each="data:${result}">
    <h2>
                <span th:class="${data.lyrical == '1'?'bg-success lyrical':'bg-danger lyrical'}">
                    &nbsp;&nbsp;&nbsp;&nbsp;
                </span>
        <a th:href="${data.url}" th:text="${data.title}"></a>
    </h2>
    <div class="info-content" th:text="${data.content}"></div>
    <div>
        <span>负面指数：</span>
        <span class="sentiment-prob">
                    <span th:style="${'width:'+data.negativeIndex+'px'}"></span>
                    <em th:text="${data.negativeIndex+'%'}">29.64%</em>
                </span>
        <span class="px-5"/>
        <span>来源：</span><span th:text="${data.source}">搜狐网</span>
        <span class="px-1"/>|<span class="px-1"/>
        <span>时间：</span><span th:text="${data.time}">2018年6月12日</span>
    </div>
    <hr/>
</div>